package realDeal;

public class Statistics {
	/**
	 * amount of buckets in BRICK. aka N/k
	 */
	private int amountOfBuckets;
	private int usedBuckets;
	private int overflowedBuckets;
	//TODO: lazy transfer evaluation
	
	public Statistics (int amountOfBuckets){
		this.amountOfBuckets = amountOfBuckets;
		usedBuckets=0;
		overflowedBuckets=0;
	}
	
	public void increaseUsedBuckets(){
		this.usedBuckets++;
	}
	
	public void increaseOverflowedBuckets(){
		this.overflowedBuckets++;
	}

	public int getAmountOfBuckets() {
		return amountOfBuckets;
	}

	public int getUsedBuckets() {
		return usedBuckets;
	}

	public int getOverflowedBuckets() {
		return overflowedBuckets;
	}
}
